package com.ganzalang.gmall.designchain.service.impl;

import com.ganzalang.gmall.designchain.service.VacationHandler;
import lombok.extern.slf4j.Slf4j;

import java.util.Objects;

/**
 * @description: 部长处理
 * @author: Ganzalang
 * @Date 2021/5/7 14:26
 */
@Slf4j
public class DepartmenterVacationHandler extends AbstractVacationHandler{


    @Override
    public void handleApply(Integer day) {
        if (Objects.nonNull(day) && day > 3) {
            log.info("部长批准请假{}天", day);
        }
    }
}
